﻿using System;

namespace Awesome.ClientID
{
    [AttributeUsage(AttributeTargets.Property)]
    public class CanSerializePropertyAttribute : Attribute
    {
        public bool PrefixWithContainerId { get; set; }

        public CanSerializePropertyAttribute()
        {
            PrefixWithContainerId = false;
        }

        public CanSerializePropertyAttribute(bool prefixWithContainerId)
        {
            PrefixWithContainerId = prefixWithContainerId;
        }
    }
}